package com.vhall.component.controller.chat.facade;

import com.vhall.component.entity.chat.vo.ChatConsoleListPage;
import com.vhall.component.entity.chat.vo.ChatConsoleListReqVO;
import com.vhall.component.entity.chat.vo.ChatConsoleListRspVO;
import com.vhall.component.entity.chat.vo.ExportMessReqVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author guoxin.wang
 * @date 2021/5/28 10:15
 */
@FeignClient(value = "ChatConsoleFacade", path = "/v4/chat/console")
public interface ChatConsoleFacade {

    /**
     * 导出
     *
     * @param reqVO 参数
     * @return 返回值
     */
    @PostMapping(value = "/export")
    Boolean export(@Validated ExportMessReqVO reqVO);

    /**
     * 列表
     *
     * @param reqVO 参数
     * @return 返回值
     */
    @PostMapping(value = "/list")
    ChatConsoleListPage<ChatConsoleListRspVO> list(@Validated ChatConsoleListReqVO reqVO);
}
